using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
	public class DCS_STEP_01
	{

		#region InnerClass
		public enum DCS_STEP_01Fields
		{
			DCS_STEP_01_ID,
			ACTION1_DATE,
			REMART1,
			ACTION2_DATE,
			REMART2,
			ACTION3_DATE,
			REMART3,
			ACTION4_DATE,
			REMART4,
			DCS_MASTER_ID,
			CREATED_DATE_TIME,
			CREATED_USER,
			UPDATED_DATE_TIME,
			UPDATED_USER,
			STATUS
		}
		#endregion

		#region Data Members

			int _dCS_STEP_01_ID;
			DateTime? _aCTION1_DATE;
			string _rEMART1;
			DateTime? _aCTION2_DATE;
			string _rEMART2;
			DateTime? _aCTION3_DATE;
			string _rEMART3;
			DateTime? _aCTION4_DATE;
			string _rEMART4;
			int? _dCS_MASTER_ID;
			DateTime? _cREATED_DATE_TIME;
			int? _cREATED_USER;
			DateTime? _uPDATED_DATE_TIME;
			int? _uPDATED_USER;
			int? _sTATUS;

		#endregion

		#region Properties

		public int  DCS_STEP_01_ID
		{
			 get { return _dCS_STEP_01_ID; }
			 set
			 {
				 if (_dCS_STEP_01_ID != value)
				 {
					_dCS_STEP_01_ID = value;
					 PropertyHasChanged("DCS_STEP_01_ID");
				 }
			 }
		}

		public DateTime?  ACTION1_DATE
		{
			 get { return _aCTION1_DATE; }
			 set
			 {
				 if (_aCTION1_DATE != value)
				 {
					_aCTION1_DATE = value;
					 PropertyHasChanged("ACTION1_DATE");
				 }
			 }
		}

		public string  REMART1
		{
			 get { return _rEMART1; }
			 set
			 {
				 if (_rEMART1 != value)
				 {
					_rEMART1 = value;
					 PropertyHasChanged("REMART1");
				 }
			 }
		}

		public DateTime?  ACTION2_DATE
		{
			 get { return _aCTION2_DATE; }
			 set
			 {
				 if (_aCTION2_DATE != value)
				 {
					_aCTION2_DATE = value;
					 PropertyHasChanged("ACTION2_DATE");
				 }
			 }
		}

		public string  REMART2
		{
			 get { return _rEMART2; }
			 set
			 {
				 if (_rEMART2 != value)
				 {
					_rEMART2 = value;
					 PropertyHasChanged("REMART2");
				 }
			 }
		}

		public DateTime?  ACTION3_DATE
		{
			 get { return _aCTION3_DATE; }
			 set
			 {
				 if (_aCTION3_DATE != value)
				 {
					_aCTION3_DATE = value;
					 PropertyHasChanged("ACTION3_DATE");
				 }
			 }
		}

		public string  REMART3
		{
			 get { return _rEMART3; }
			 set
			 {
				 if (_rEMART3 != value)
				 {
					_rEMART3 = value;
					 PropertyHasChanged("REMART3");
				 }
			 }
		}

		public DateTime?  ACTION4_DATE
		{
			 get { return _aCTION4_DATE; }
			 set
			 {
				 if (_aCTION4_DATE != value)
				 {
					_aCTION4_DATE = value;
					 PropertyHasChanged("ACTION4_DATE");
				 }
			 }
		}

		public string  REMART4
		{
			 get { return _rEMART4; }
			 set
			 {
				 if (_rEMART4 != value)
				 {
					_rEMART4 = value;
					 PropertyHasChanged("REMART4");
				 }
			 }
		}

		public int?  DCS_MASTER_ID
		{
			 get { return _dCS_MASTER_ID; }
			 set
			 {
				 if (_dCS_MASTER_ID != value)
				 {
					_dCS_MASTER_ID = value;
					 PropertyHasChanged("DCS_MASTER_ID");
				 }
			 }
		}

		public DateTime?  CREATED_DATE_TIME
		{
			 get { return _cREATED_DATE_TIME; }
			 set
			 {
				 if (_cREATED_DATE_TIME != value)
				 {
					_cREATED_DATE_TIME = value;
					 PropertyHasChanged("CREATED_DATE_TIME");
				 }
			 }
		}

		public int?  CREATED_USER
		{
			 get { return _cREATED_USER; }
			 set
			 {
				 if (_cREATED_USER != value)
				 {
					_cREATED_USER = value;
					 PropertyHasChanged("CREATED_USER");
				 }
			 }
		}

		public DateTime?  UPDATED_DATE_TIME
		{
			 get { return _uPDATED_DATE_TIME; }
			 set
			 {
				 if (_uPDATED_DATE_TIME != value)
				 {
					_uPDATED_DATE_TIME = value;
					 PropertyHasChanged("UPDATED_DATE_TIME");
				 }
			 }
		}

		public int?  UPDATED_USER
		{
			 get { return _uPDATED_USER; }
			 set
			 {
				 if (_uPDATED_USER != value)
				 {
					_uPDATED_USER = value;
					 PropertyHasChanged("UPDATED_USER");
				 }
			 }
		}

		public int?  STATUS
		{
			 get { return _sTATUS; }
			 set
			 {
				 if (_sTATUS != value)
				 {
					_sTATUS = value;
					 PropertyHasChanged("STATUS");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("DCS_STEP_01_ID", "DCS_STEP_01_ID"));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("REMART1", "REMART1",2147483647));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("REMART2", "REMART2",2147483647));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("REMART3", "REMART3",2147483647));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("REMART4", "REMART4",2147483647));
		}

		#endregion
********/

	}
}
